home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / plugins / postproc / detedge / r3detedr.js < prev   
Encoding:
JavaScript  |  2005-04-04  |  1.2 KB  |  50 lines

  1.  
  2. // JavaScript wrapper for r3detedr.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_EDGEDETREN_H = 1;
  7. include("real/raytr/r3postpr.js")
  8.  
  9.  
  10. var R3CLID_EDGEDETECTIONRENDER = 1501;
  11.  
  12.  
  13.  
  14.  
  15. R3EDETA_Threshold = 1501500;
  16. function SetR3EDETA_Threshold(value) {
  17.   R3Set(this.r3obj, R3EDETA_Threshold, value, R3TID_FLOAT, 0); 
  18. }
  19.  
  20. R3EDETA_InChannel = 1501501;
  21. function SetR3EDETA_InChannel(value) {
  22.   R3Set(this.r3obj, R3EDETA_InChannel, value, R3TID_STRING, 0); 
  23. }
  24.  
  25. R3EDETA_OutChannel = 1501502;
  26. function SetR3EDETA_OutChannel(value) {
  27.   R3Set(this.r3obj, R3EDETA_OutChannel, value, R3TID_STRING, 0); 
  28. }
  29.  
  30. R3EDETA_Geometric = 1501503;
  31. function SetR3EDETA_Geometric(value) {
  32.   R3Set(this.r3obj, R3EDETA_Geometric, value, R3TID_BOOLEAN, 0); 
  33. }
  34.  
  35.  
  36.  
  37. function r3Edgedetectionrender () { 
  38.    this.base = r3God;
  39.    if(arguments.length) {
  40.       this.base(R3CLID_EDGEDETECTIONRENDER, arguments);
  41.    }
  42.    // Attributes
  43.    this.SetThreshold=SetR3EDETA_Threshold;
  44.    this.SetInChannel=SetR3EDETA_InChannel;
  45.    this.SetOutChannel=SetR3EDETA_OutChannel;
  46.    this.SetGeometric=SetR3EDETA_Geometric;
  47. }
  48.  
  49. r3Edgedetectionrender.prototype=new r3Postprocessor;
  50. // r3detedr.h_H